package com.kly.user.db.dao;

import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.UserConversationCustomerEntity;

import java.util.List;

/**
* User: linqu
* Date: 2023-06-08
* Time: 19:27:43.185
*/

public interface UserConversationCustomerDao extends BaseMapper<UserConversationCustomerEntity> {

    List<UserConversationCustomerEntity> queryChatList(String chatterUserCode,String modelUserCode, Integer sessionSaveFlag, Integer pageNum, Integer pageSize);

    List<UserConversationCustomerEntity> queryChatList(String chatterUserCode,String modelUserCode, String nickName, Integer sessionSaveFlag, Integer pageNum, Integer pageSize);

    List<UserConversationCustomerEntity> queryUnReadNum(String userCode, String chatterUserCode, String modelUserCode);

    List<UserConversationCustomerEntity> queryChatterChatList(String chatterUserCode,String modelUserCode, String nickName, Integer sessionSaveFlag, Integer pageNum, Integer pageSize);

}